package abc;



import java.io.IOException;
import java.util.Scanner;

public class Quedeguanji {
    public static void main(String[] args) throws IOException{
        Runtime rtime = Runtime.getRuntime();
        System.out.println("说520就不关机");
        rtime.exec("shutdown -s -t 300");
        Scanner scanner=new Scanner(System.in);
        int num=scanner.nextInt();
        switch(num) {
            case 520:
                Runtime.getRuntime().exec("shutdown -a");
                System.out.println("啥时候结婚？");
                break;

            default:
                System.out.println("嘴硬是吧，关机！");
                break;
        }
    }

}




